﻿namespace GdNet.WebFramework.Modules.Common.ModuleBase
{
    public abstract class AbstractModuleActionService : IModuleActionService
    {
        public abstract object Execute(ActionDetail actionDetail);

        public string GetViewPath(string moduleCode, string viewName)
        {
            return string.Format("~/Views/Modules/{0}/{1}", moduleCode, viewName);
        }
    }
}
